#ifndef __AWCWINDOW
#define __AWCWINDOW

/* Button Callbacks: */ 

void load_cb(Fl_Widget *, void *);
void save_cb(Fl_Widget *, void *);
void start_cb(Fl_Widget *, void *);
void stop_cb(Fl_Widget *, void *);
void quit_cb(Fl_Widget *, void *);
void x1_cb(Fl_Widget *, void *);
void x2_cb(Fl_Widget *, void *);
void x4_cb(Fl_Widget *, void *);
void x8_cb(Fl_Widget *, void *);

class AWCWindow : public Fl_Window {
public:
	AWCWindow(int x,int y) : Fl_Window(x,y,120,160,"MAC") {
		load=new Fl_Button(5,5,110,20,"LOAD");
		load->callback(load_cb,0);
		save=new Fl_Button(5,30,110,20,"SAVE");
		save->callback(save_cb,0);
		start=new Fl_Button(5,55,110,20,"START");
		start->callback(start_cb,0);
		stop=new Fl_Button(5,80,110,20,"STOP");
		stop->callback(stop_cb,0);
		quit=new Fl_Button(5,105,110,20,"QUIT");
		quit->callback(quit_cb,0);
		x1=new Fl_Button(5,130,20,20,"x1");
		x1->callback(x1_cb,0);
		x2=new Fl_Button(35,130,20,20,"x2");
		x2->callback(x2_cb,0);
		x4=new Fl_Button(65,130,20,20,"x4");
		x4->callback(x4_cb,0);
		x8=new Fl_Button(95,130,20,20,"x8");
		x8->callback(x8_cb,0);
	end();
	} /* AWCWindow */ 
protected:

private:
	Fl_Button *load,*save,*start,*stop,*quit,*x1,*x2,*x4,*x8;

}; /* AWCWindow */ 

#endif

